home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C07 / all.makefile next >
Encoding:
Makefile  |  2000-05-25  |  1.3 KB  |  60 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C07
  7. # using the all compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f all.makefile
  11.  
  12. .SUFFIXES : .obj .cpp .c
  13. .cpp.obj :
  14.     $(CPP) $(CPPFLAGS) -c $<
  15. .c.obj :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17.  
  18. all: \
  19.     Use.exe \
  20.     Stash3Test.exe \
  21.     UnionClass.exe \
  22.     SuperVar.exe \
  23.     MemTest.exe 
  24.  
  25. test: all 
  26.     Use.exe  
  27.     Stash3Test.exe  
  28.     UnionClass.exe  
  29.     SuperVar.exe  
  30.     MemTest.exe  
  31.  
  32. bugs: 
  33.     @echo No compiler bugs in this directory!
  34.  
  35. Use.exe: Use.obj Def.obj 
  36.     $(CPP) $(OFLAG)Use.exe Use.obj Def.obj 
  37.  
  38. Stash3Test.exe: Stash3Test.obj Stash3.obj 
  39.     $(CPP) $(OFLAG)Stash3Test.exe Stash3Test.obj Stash3.obj 
  40.  
  41. UnionClass.exe: UnionClass.obj 
  42.     $(CPP) $(OFLAG)UnionClass.exe UnionClass.obj 
  43.  
  44. SuperVar.exe: SuperVar.obj 
  45.     $(CPP) $(OFLAG)SuperVar.exe SuperVar.obj 
  46.  
  47. MemTest.exe: MemTest.obj Mem.obj 
  48.     $(CPP) $(OFLAG)MemTest.exe MemTest.obj Mem.obj 
  49.  
  50.  
  51. Def.obj: Def.cpp 
  52. Use.obj: Use.cpp 
  53. Stash3.obj: Stash3.cpp Stash3.h 
  54. Stash3Test.obj: Stash3Test.cpp Stash3.h ..\require.h 
  55. UnionClass.obj: UnionClass.cpp 
  56. SuperVar.obj: SuperVar.cpp 
  57. Mem.obj: Mem.cpp Mem.h 
  58. MemTest.obj: MemTest.cpp Mem.h 
  59.  
  60.